package com.ruoyi.oa.service;

import com.ruoyi.oa.domain.OaFinanceBudget;
import com.ruoyi.oa.domain.vo.OaFinanceBudgetVo;
import com.ruoyi.oa.domain.bo.OaFinanceBudgetBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.oa.domain.vo.OaFinanceEntertainVo;
import com.ruoyi.oa.domain.vo.OaProjectVo;

import java.util.Collection;
import java.util.List;

/**
 * 费用预算申请Service接口
 *
 * @author xiaoyan
 * @date 2023-05-22
 */
public interface IOaFinanceBudgetService {

    /**
     * 查询费用预算申请
     */
    OaFinanceBudgetVo queryById(String id);

    /**
     * 查询费用预算申请列表
     */
    TableDataInfo<OaFinanceBudgetVo> queryPageList(OaFinanceBudgetBo bo, PageQuery pageQuery);

    /**
     * 查询费用预算申请列表
     */
    List<OaFinanceBudgetVo> queryList(OaFinanceBudgetBo bo);

    /**
     * 新增费用预算申请
     */
    OaFinanceBudgetBo insertByBo(OaFinanceBudgetBo bo);

    /**
     * 修改费用预算申请
     */
    OaFinanceBudget updateByBo(OaFinanceBudgetBo bo);

    /**
     * 校验并批量删除费用预算申请信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);


    /**
     * 获取没有采购流程的项目信息
     * @return
     */
    List<OaProjectVo> getProjectList();


    public OaFinanceBudgetVo queryByProjectName(String projectName);
}
